package org.x.usermod.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.lang.Long;
import java.util.Date;
import java.lang.String;
import java.lang.Integer;

/**
 * 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@Table(value = "sys_config_history")
public class SysConfigHistoryEntity {

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 配置ID
     */
    @Column(value = "config_id")
    private Integer configId;

    /**
     * 配置键
     */
    @Column(value = "config_key")
    private String configKey;

    /**
     * 旧值
     */
    @Column(value = "old_value")
    private String oldValue;

    /**
     * 新值
     */
    @Column(value = "new_value")
    private String newValue;

    /**
     * 操作人ID
     */
    @Column(value = "operator_id")
    private Long operatorId;

    /**
     * 操作时间
     */
    @Column(value = "created_time")
    private Date createdTime;
}
